<template>
  <div>
    我是详情页面{{ $route.query.num }} <br>
    <button @click="$router.back()">返回</button>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
div {
  font-size: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  transform: translate(-50%);
}
</style>